﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace LifeTree.DomainModel.Entities
{
    public class TaskStatuses
    {
        protected TaskStatuses()
        {
        }

        public const string Finished = "Finished";

        public const string Active = "Active";

        public const string NotStarted = "NotStarted";
    }

    public class Task : Entity
    {
        [Required]
        public string Text { get; set; }

        public string Status { get; set; }

        public DateTime CreatedDate { get; set; }

        public DateTime ModifiedDate { get; set; }

        public DateTime? FinishedDate { get; set; }
 
        public virtual Workbook WorkBook { get; set; }
    }
}
